import apiCreator from '@/src/utils/apiCreator';
import config from '@/src/utils/config';

const api = apiCreator();

export default {
  // 触发任务
  getBatchDataApi: (query) => api.post(`${config.interfaces.type5}risk-postcheck/risk/postcheck/web/taskExecute`, query),
  // 查询状态
  queryStatusApi: (query) => api.get(`${config.interfaces.type5}risk-postcheck/risk/postcheck/web/taskStatus`, query),
};
